<?php


namespace App\Domain;

use App\Model\Order as OrderModel;

class Order
{
    public function getOrderList()
    {
        $model = new OrderModel();
        return $model->getOrderList();
    }

    public function getOrderInfoByUid($user_id)
    {
        $model = new OrderModel();
        return $model->getOrderInfoByUid($user_id);
    }

    public function insertOrderInfo($order_id, $order_uaid, $order_uid, $order_money)
    {
        $model = new OrderModel();
        return $model->insertOrderInfo($order_id, $order_uaid, $order_uid, $order_money);
    }

    public function deleteOrderInfoByOid($order_id)
    {
        $model = new OrderModel();
        return $model->deleteOrderInfoByOid($order_id);
    }

    public function updateOrderInfoByOid($order_id)
    {
        $model = new OrderModel();
        return $model->updateOrderInfoByOid($order_id);
    }

    public function likeQueryByOrderId($like_orderId)
    {
        $model = new OrderModel();
        return $model->likeQueryByOrderId($like_orderId);
    }

    public function getByOrderFlag($orderFlag)
    {
        $model = new OrderModel();
        return $model->getByOrderFlag($orderFlag);
    }
    public function getByOrderId($orderId)
    {
        $model = new OrderModel();
        return $model->getByOrderId($orderId);

    }
}